home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / cperf-21.lha / cperf-2.1 / tests / c-parse.gperf < prev    next >
Text File  |  1989-07-02  |  1KB  |  57 lines

  1. %{
  2. /* Command-line: gperf -p -j1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf  */
  3. %}
  4. struct resword { char *name; short token; enum rid rid; };
  5. %%
  6. __alignof, ALIGNOF, NORID
  7. __alignof__, ALIGNOF, NORID
  8. __asm, ASM, NORID
  9. __asm__, ASM, NORID
  10. __attribute, ATTRIBUTE, NORID
  11. __attribute__, ATTRIBUTE, NORID
  12. __const, TYPE_QUAL, RID_CONST
  13. __const__, TYPE_QUAL, RID_CONST
  14. __inline, SCSPEC, RID_INLINE
  15. __inline__, SCSPEC, RID_INLINE
  16. __signed, TYPESPEC, RID_SIGNED
  17. __signed__, TYPESPEC, RID_SIGNED
  18. __typeof, TYPEOF, NORID
  19. __typeof__, TYPEOF, NORID
  20. __volatile, TYPE_QUAL, RID_VOLATILE
  21. __volatile__, TYPE_QUAL, RID_VOLATILE
  22. asm, ASM, NORID
  23. auto, SCSPEC, RID_AUTO
  24. break, BREAK, NORID
  25. case, CASE, NORID
  26. char, TYPESPEC, RID_CHAR
  27. const, TYPE_QUAL, RID_CONST
  28. continue, CONTINUE, NORID
  29. default, DEFAULT, NORID
  30. do, DO, NORID
  31. double, TYPESPEC, RID_DOUBLE
  32. else, ELSE, NORID
  33. enum, ENUM, NORID
  34. extern, SCSPEC, RID_EXTERN
  35. float, TYPESPEC, RID_FLOAT
  36. for, FOR, NORID
  37. goto, GOTO, NORID
  38. if, IF, NORID
  39. inline, SCSPEC, RID_INLINE
  40. int, TYPESPEC, RID_INT
  41. long, TYPESPEC, RID_LONG
  42. register, SCSPEC, RID_REGISTER
  43. return, RETURN, NORID
  44. short, TYPESPEC, RID_SHORT
  45. signed, TYPESPEC, RID_SIGNED
  46. sizeof, SIZEOF, NORID
  47. static, SCSPEC, RID_STATIC
  48. struct, STRUCT, NORID
  49. switch, SWITCH, NORID
  50. typedef, SCSPEC, RID_TYPEDEF
  51. typeof, TYPEOF, NORID
  52. union, UNION, NORID
  53. unsigned, TYPESPEC, RID_UNSIGNED
  54. void, TYPESPEC, RID_VOID
  55. volatile, TYPE_QUAL, RID_VOLATILE
  56. while, WHILE, NORID
  57.